package com.doublethread.easymart.modules.order.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 订单统计信息VO
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class OrderStatisticsVO {

    /**
     * 订单总数
     */
    private Long totalOrders;

    /**
     * 今日订单数
     */
    private Long todayOrders;

    /**
     * 待支付订单数
     */
    private Long pendingPayment;

    /**
     * 待发货订单数
     */
    private Long pendingDelivery;

    /**
     * 待收货订单数
     */
    private Long pendingReceive;

    /**
     * 已完成订单数
     */
    private Long completedOrders;

    /**
     * 已取消订单数
     */
    private Long cancelledOrders;

    /**
     * 订单总金额
     */
    private BigDecimal totalAmount;

    /**
     * 今日订单金额
     */
    private BigDecimal todayAmount;

    /**
     * 平均订单金额
     */
    private BigDecimal avgOrderAmount;
}
